<template>
  <div id="app">
    <a-layout>
      <a-layout-header>
        <Nav />
      </a-layout-header>
      <a-layout>
        <a-layout-content>
          <transition name="move-down" mode="out-in">
            <router-view />
          </transition>
        </a-layout-content>
      </a-layout>
      <a-layout-footer>
        <Footer />
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script>
import Nav from "./views/nav/Nav";
import Footer from "./views/footer/Footer";
export default {
  components: {
    Nav,
    Footer,
  },
  data() {
    return {
      current: ["mail"],
    };
  },
};
</script>
<style>
/* #app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
} */

#app {
  /* text-align: center; */
}
#app .ant-layout-header {
  backdrop-filter: saturate(180%) blur(20px);
  background-color: hsla(0, 0%, 100%, 0.7);
  position: fixed;
  width: 100%;
  flex: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  z-index: 2;
}
#app .ant-layout-footer {
  padding: 29px 50px 10px 50px;
  background-color: #eaeaea;
  color: #777;
}

#app .ant-layout-content {
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04); */
  min-height: 700px;
  padding: 20px;
  color: #fff;
  margin: 100px auto;
  width: 1200px;
  z-index: 1;
  /* background: #fff; */
}
</style>
